﻿using EkStudio.com.bean.xml.reflection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EkStudio.com.bean.xml.ProjectMenu
{
    public class ProjectMenuDMapRoot
    {
        private string caption = "";
        private string key = "";
        private string languageTexts = "Project.Business.DataMap";
        private int maxid = 0;
        private List<ProjectMenuCommonElement> module;

        [Xml]
        public string Caption
        {
            get { return caption; }
            set { caption = value; }
        }
        [Xml]
        public string Key
        {
            get { return key; }
            set { key = value; }
        }
        [Xml]
        public string LanguageTexts
        {
            get { return languageTexts; }
            set { languageTexts = value; }
        }
        [Xml]
        public int Maxid
        {
            get { return maxid; }
            set { maxid = value; }
        }

        [XmlElement]
        public List<ProjectMenuCommonElement> Module
        {
            get { return module; }
            set { module = value; }
        }

    }
}
